package com.zk.stock.service;

import com.zk.stock.pojo.entity.SysUser;
import com.zk.stock.vo.resp.LoginRespVo;
import com.zk.stock.vo.resp.R;
import com.zk.stock.vo.resq.LoginReqVo;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author 曹自康的Laptop
 * @version 1.0
 * @Date 2024-06-288:53
 */

public interface UserService {
    SysUser findByUserName(String userName);

    List<SysUser> findUserAllList();
    /**
     * 登录
     * **/
    R<LoginRespVo> login(LoginReqVo vo);

    /**
     * 生成图片验证码功能
     * @return
     */


    R<Map> getCaptcha();
}
